package cn.hanyx.coder.design.pattern.structural.decorator;

/**
 * Demo02
 *
 * @author hanyx
 * @date 2020/07/16
 */
public class Demo02 {
    public static void main(String[] args) {
        IA a = new ADecorator(new A());
        a.f();
    }
}
